package com.wgchao.mdmp.entity;

import javax.persistence.*;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;

/**
 * @作者  wgchao
 * @时间 2019-11-03 
 * @用途  高血压测量数据信息
 */

@AllArgsConstructor
@NoArgsConstructor
@Data
@Entity
@Table ( name ="mdmp_gxy" )
public class MdmpGxy  implements Serializable {

	private static final long serialVersionUID =  8049922054629438956L;

	/**
	 * 主键
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
   	@Column(name = "id" )
	private Long id;

	/**
	 * 患者证件号码
	 */
   	@Column(name = "idcard" )
	private String idcard;

	/**
	 * 收缩压
	 */
   	@Column(name = "ss" )
	private Double ss;


	/**
	 * 舒张压
	 */
   	@Column(name = "sz" )
	private Double sz;

	/**
	 * 创建时间
	 */
   	@Column(name = "create_time" )
	private Date createTime;

	/**
	 * 上传时间
	 */
   	@Column(name = "up_time" )
	private Date upTime;

	/**
	 * 测量时间
	 */
   	@Column(name = "measure_time" )
	private Date measureTime;

}
